package com.jikexueshe.crm.service;

import com.github.pagehelper.PageInfo;

/**
 * 通用接口
 * @author qiangweizhang
 *
 * @param <T>
 */
public interface BaseService<T> {
	
	public void save(T t);
	
	public void delete(Integer id);
	
	public void update(T t);
	
	public PageInfo<T> select(Integer page,Integer rows,T t);
	
	public T getById(Integer id);
	

}
